package com.ruoyi.web.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退库单对象 mes_refund_info
 * 
 * @author wxt
 * @date 2024-01-23
 */
public class MesRefundInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 状态 */
    @Excel(name = "状态", combo = {"未提交", "已提交"}, readConverterExp = "0=未提交,1=已提交")
    private Integer status;

    /** 退库单编码 */
    @Excel(name = "退库单编码")
    private String refundNum;

    /** 退库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退库日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date refundDate;

    /** 退库机台id */

    private String refundMachineid;

    /** 备注 */
    @Excel(name = "备注")
    private String refundRemark;

    @Excel(name = "退库机台")
    private String machine_name;

    /** 退库单明细信息 */
    private List<MesRefundDetail> mesRefundDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRefundNum(String refundNum) 
    {
        this.refundNum = refundNum;
    }

    public String getRefundNum() 
    {
        return refundNum;
    }
    public void setRefundDate(Date refundDate) 
    {
        this.refundDate = refundDate;
    }

    public Date getRefundDate() 
    {
        return refundDate;
    }
    public void setRefundMachineid(String refundMachineid) 
    {
        this.refundMachineid = refundMachineid;
    }

    public String getRefundMachineid() 
    {
        return refundMachineid;
    }
    public void setRefundRemark(String refundRemark) 
    {
        this.refundRemark = refundRemark;
    }

    public String getRefundRemark() 
    {
        return refundRemark;
    }

    public List<MesRefundDetail> getMesRefundDetailList()
    {
        return mesRefundDetailList;
    }

    public void setMesRefundDetailList(List<MesRefundDetail> mesRefundDetailList)
    {
        this.mesRefundDetailList = mesRefundDetailList;
    }

    public void setMachine_name(String machine_name)
    {
        this.machine_name = machine_name;
    }

    public String getMachine_name()
    {
        return machine_name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("refundNum", getRefundNum())
            .append("refundDate", getRefundDate())
            .append("refundMachineid", getRefundMachineid())
            .append("refundRemark", getRefundRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("mesRefundDetailList", getMesRefundDetailList())
                .append("machine_name", getMachine_name())
            .toString();
    }
}
